package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 领料单表
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-18
 */
@Getter
@Setter
@ToString
  @TableName("cms_goods_outbill")
@ApiModel(value = "GoodsOutbill对象", description = "领料单表")
public class GoodsOutbill implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("生产中心（分公司-部门）")
      private String productionCenter;

      @ApiModelProperty("经办人（根据账号自动拉取）")
      private String operator;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("创建时间")
      private Date creatTime;

      @ApiModelProperty("修改信息（修改人-修改时间）")
      private String setMsg;

      @ApiModelProperty("分包队伍")
      private String constructTeam;

      @ApiModelProperty("领料单编号")
      private String outbillCode;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("领料时间")
      private Date outTime;

      @ApiModelProperty("工程名称（从所引用的入库单/缴回单生成）")
      private String projectName;

      @ApiModelProperty("工程编码（从公司工程库内拉取）")
      private String projectCode;

      @ApiModelProperty("领料人")
      private String outbillMan;

      @ApiModelProperty("分包单位")
      private String subcontractor;

      @ApiModelProperty("材料类型（从字典拉取）")
      private String goodsType;

      @ApiModelProperty("仓库名称（从仓库列表拉取）")
      private String storeName;

      @ApiModelProperty("备注")
      private String remarks;

      @ApiModelProperty("仓库外键")
      private Integer storeId;

      @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer status;


}
